$(function(){
				$.ajax({
						url: "/piaoniu/shops/select",
						type: "POST",
						datatype: "json",
						/* async:false, */
						 cache: true,
						data:"",
						success: function(data) {
							var str="";
							$.each(JSON.parse(data),function(i,val){
									str="<tr >"
										+"<td>"+val.shopsId+"</td>"
										+"<td>"+val.shopsName+"</td>"
										+"<td>"+val.gender+"</td>"
										+"<td>"+val.idNumder+"</td>"
										+"<td>"+val.shopsNumber+"</td>"
										+"<td>"+val.site.siteName+"</td>"
										+"<td>"
										+"<a href='/piaoniu/shops/entranceupdate?shopsId="+val.shopsId+"'>"+"<img src='../statics/images/xiugai.png' height='20px' width='20px'/>"+"</a>"
										+"&nbsp"+"&nbsp"+"&nbsp"
										+"<a href='/piaoniu/shops/deleteshops?shopsId="+val.shopsId+"'>"+"<img src='../statics/images/shanchu.png'  id='img'  height='20px' width='20px'/>"+"</a>"
										+"</td>"
										+"</tr>";
									$("#tr").append(str);
									
								}); 
						},
						error:function(){
						alert("出现异常！！！！");
						}
				});
			});